<?php /* Smarty version 2.6.26, created on 2011-07-22 10:46:36
         compiled from users.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'users.tpl', 7, false),)), $this); ?>
<table>
    <tr>
        <td>Imię</td><td>Nazwisko</td><td>Login</td><td>Email</td>
    </tr>
<?php $_from = $this->_tpl_vars['users']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['myId'] => $this->_tpl_vars['i']):
?>
<?php echo '<tr bgcolor="'; ?><?php echo smarty_function_cycle(array('values' => "#aaaaaa,#bbbbbb"), $this);?><?php echo '"><td>'; ?><?php echo $this->_tpl_vars['i']->getName(); ?><?php echo '</td><td>'; ?><?php echo $this->_tpl_vars['i']->getSurname(); ?><?php echo '</td><td>'; ?><?php echo $this->_tpl_vars['i']->getLogin(); ?><?php echo '</td><td>'; ?><?php echo $this->_tpl_vars['i']->getPassword(); ?><?php echo '</td></tr>'; ?>

<?php endforeach; endif; unset($_from); ?>
</table>